#ifndef HCSECTIONDATA_H
#define HCSECTIONDATA_H
#include "hcviewdata.h"
#include "hccustomfloatitem.h"
#include <QEvent>

class HCSectionData : public HCViewData
{
public:
    HCSectionData(HCStyle *style);
};

class HCHeaderData : public HCSectionData
{
public:
    HCHeaderData(HCStyle *style);
};

class HCFooterData : public HCSectionData
{
public:
    HCFooterData(HCStyle *style);
};

class HCPageData : public HCSectionData
{
public:
    HCPageData(HCStyle *style);
};

static QEvent::Type FloatStyleItemEventType = static_cast<QEvent::Type>(QEvent::registerEventType());
class FloatStyleItemEvent : public QEvent
{
public:
    FloatStyleItemEvent(HCSectionData data, int styleNo);

private:
    HCSectionData argData;
    int argStyleNo;
};

#endif // HCSECTIONDATA_H
